uniform sampler2D inputTex;
uniform sampler2D fogTex;

varying vec2 pTexcoord;

void main(){
    vec4 c1=texture2D(inputTex,pTexcoord);
	vec4 c2=texture2D(fogTex,pTexcoord);
	gl_FragColor=c1*c2;
}